//
//  ZSY_FourType.m
//  ZSY_BreadTrip
//
//  Created by 张诗宇 on 15/12/30.
//  Copyright © 2015年 张诗宇. All rights reserved.
//

#import "ZSY_FourType.h"

@implementation ZSY_FourType

- (void)dealloc {
    [_type release];
    [_cover_image_w640 release];
    [_name release];
    [_last_day release];
    [_day_count release];
    [_view_count release];
    [_popular_place_str release];
    [_userDic release];
    [_userModel release];
    [super dealloc];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"user"]) {
        [self.userModel setValuesForKeysWithDictionary:value];
    }
}

- (instancetype)init {
    self = [super init];
    if (self) {
        self.userModel = [[ZSY_HomeUserModel alloc] init];
    }
    return self;
}


@end
